package com.keba.lamp.complaint.vo.result;


import lombok.Builder;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

@Data
@Builder
public class DocTemplateValueResultVO {
    /**
     * 原告
     */

    private List<DocTemplateUserResultVO> plaintiffs;
    /**
     * 被告
     */
    private List<DocTemplateUserResultVO> defendants;

    public List<DocTemplateUserResultVO> getPlaintiffs() {
        return Objects.isNull(plaintiffs) ? new ArrayList<>() : plaintiffs;
    }

    public List<DocTemplateUserResultVO> getDefendants() {
        return Objects.isNull(defendants) ? new ArrayList<>() : plaintiffs;
    }
}
